package com.adxon.admin;

import com.adxon.data.DataSet;
import com.adxon.data.Item;
import com.adxon.servlet.ServletBase;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.*;

@SuppressWarnings("serial")
public class AdminServlet extends ServletBase{
	public void doGet(HttpServletRequest req,HttpServletResponse resp)
			throws IOException,ServletException{
		Item s=new Item();
		s.setRate(99);
		req.setAttribute("m",new DataSet<Item>(s,null));
		setAttributes(req,"Administration");
		forward("admin.jsp",req,resp);
	}
}